/* rssit01.i - Schedule order detail temp-table definitions                 */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                    */
/* All rights reserved worldwide.  This is an unpublished work.            */
/*-------------------------------------------------------------------------
    File        : rssit01.i

    Description : Temp-table for schedule orders detail

    Notes       :

    History     :

  ------------------------------------------------------------------------*/
/*  REVISION: 9.0        CREATED: 13 Jul 2001   BY: *M1NN* Deirdre O'Brien */

/*===============================  Tokens  ===============================*/
/*V8:ConvertMode=NoConvert                                                */
/*V8:RunMode=Character,Windows                                            */
/*========================================================================*/

/*========================================================================*/
/* ****************************  Definitions  *************************** */
/*========================================================================*/


/*========================================================================*/
/* ****************************  Schedule Order  ************************ */
/*========================================================================*/

        define {1} temp-table tt{2}ScheduleOrder no-undo
          field nbr         like    sch_nbr        initial ?
          field line        like    sch_line       initial ?
          field operation   as      character      initial ?
         /* The following field is used to determine */
         /* what MFG/PRO functionality to called */
          field processingType as   character      initial ?
          field crDate      like    sch_cr_date    initial ?
          field crTime      like    sch_cr_time    initial ?
          field cumulative  like    sch_cumulative initial ?
          field effEnd      like    sch_eff_end    initial ?
          field effStart    like    sch_eff_start  initial ?
          field fabEnd      like    sch_fab_end    initial ?
          field fabQty      like    sch_fab_qty    initial ?
          field fabStrt     like    sch_fab_strt   initial ?
          field fromPid     like    sch_from_pid   initial ?
          field fromSid     like    sch_from_sid   initial ?
          field lrAsn       like    sch_lr_asn     initial ?
          field lrCumQty    like    sch_lr_cum_qty initial ?
          field lrDate      like    sch_lr_date    initial ?
          field lrQty       like    sch_lr_qty     initial ?
          field lrTime      like    sch_lr_time    initial ?
          field pcrQty      like    sch_pcr_qty    initial ?
          field pcsDate     like    sch_pcs_date   initial ?
          field pdrQty      like    sch_pdr_qty    initial ?
          field prpExt      like    sch_prp_ext    initial ?
          field prpInt      like    sch_prp_int    initial ?
          field rawEnd      like    sch_raw_end    initial ?
          field rawQty      like    sch_raw_qty    initial ?
          field rawStrt     like    sch_raw_strt   initial ?
          field rlseId      like    sch_rlse_id    initial ?
          field sdDates     like    sch_sd_dates   initial ?
          field sdPat       like    sch_sd_pat     initial ?
          field sdTime      like    sch_sd_time    initial ?
          field ship        like    sch_ship       initial ?
          field type        like    sch_type       initial ?
          field user1       like    sch_user1      initial ?
          field user2       like    sch_user2      initial ?
          field chr01       like    sch__chr01     initial ? /* NOT MAINTAINABLE FROM API */
          field chr02       like    sch__chr02     initial ? /* NOT MAINTAINABLE FROM API */
          field chr03       like    sch__chr03     initial ? /* NOT MAINTAINABLE FROM API */
          field chr04       like    sch__chr04     initial ? /* NOT MAINTAINABLE FROM API */
          field chr05       like    sch__chr05     initial ? /* NOT MAINTAINABLE FROM API */
          field chr06       like    sch__chr06     initial ? /* NOT MAINTAINABLE FROM API */
          field chr07       like    sch__chr07     initial ? /* NOT MAINTAINABLE FROM API */
          field chr08       like    sch__chr08     initial ? /* NOT MAINTAINABLE FROM API */
          field chr09       like    sch__chr09     initial ? /* NOT MAINTAINABLE FROM API */
          field chr10       like    sch__chr10     initial ? /* NOT MAINTAINABLE FROM API */
          field dec01       like    sch__dec01     initial ? /* NOT MAINTAINABLE FROM API */
          field dec02       like    sch__dec02     initial ? /* NOT MAINTAINABLE FROM API */
          field dec03       like    sch__dec03     initial ? /* NOT MAINTAINABLE FROM API */
          field dec04       like    sch__dec04     initial ? /* NOT MAINTAINABLE FROM API */
          field dec05       like    sch__dec05     initial ? /* NOT MAINTAINABLE FROM API */
          field dec06       like    sch__dec06     initial ? /* NOT MAINTAINABLE FROM API */
          field dec07       like    sch__dec07     initial ? /* NOT MAINTAINABLE FROM API */
          field dec08       like    sch__dec08     initial ? /* NOT MAINTAINABLE FROM API */
          field dec09       like    sch__dec09     initial ? /* NOT MAINTAINABLE FROM API */
          field dec10       like    sch__dec10     initial ? /* NOT MAINTAINABLE FROM API */
          field dte01       like    sch__dte01     initial ? /* NOT MAINTAINABLE FROM API */
          field dte02       like    sch__dte02     initial ? /* NOT MAINTAINABLE FROM API */
          field log01       like    sch__log01     initial ? /* NOT MAINTAINABLE FROM API */
          field log02       like    sch__log02     initial ? /* NOT MAINTAINABLE FROM API */
          {mfaittxt.i}. /* API Standard Fields & Indexes */

        define {1} temp-table tt{2}ScheduleOrderCmt no-undo
            field nbr       like    sch_nbr     initial ?
            field line      like    sch_line    initial ?
            {mfctid01.i}
            {mfaittxt.i}.


/*========================================================================*/
/* ****************************  Schedule Order Details ****************** */
/*========================================================================*/

        define {1} temp-table tt{2}ScheduleDet no-undo
          field operation   as      character      initial ?
          field line        like    schd_line      initial ?
          field nbr         like    schd_nbr       initial ?
          field allQty      like    schd_all_qty   initial ?
          field cumQty      like    schd_cum_qty   initial ?
          field date        like    schd_date      initial ?
          field discrQty    like    schd_discr_qty initial ?
          field fcQual      like    schd_fc_qual   initial ?
          field interval    like    schd_interval  initial ?
          field reference   like    schd_reference initial ?
          field rlseId      like    schd_rlse_id   initial ?
          field shipQty     like    schd_ship_qty  initial ?
          field dTime       like    schd_time      initial ?
          field type        like    schd_type      initial ?
          field updQty      like    schd_upd_qty   initial ?
          field user1       like    schd_user1     initial ?
          field user2       like    schd_user2     initial ?
          field chr01       like    schd__chr01    initial ? /* NOT MAINTAINABLE FROM API */
          field chr02       like    schd__chr02    initial ?
          field chr03       like    schd__chr03    initial ? /* NOT MAINTAINABLE FROM API */
          field chr04       like    schd__chr04    initial ? /* NOT MAINTAINABLE FROM API */
          field chr05       like    schd__chr05    initial ? /* NOT MAINTAINABLE FROM API */
          field chr06       like    schd__chr06    initial ? /* NOT MAINTAINABLE FROM API */
          field chr07       like    schd__chr07    initial ? /* NOT MAINTAINABLE FROM API */
          field chr08       like    schd__chr08    initial ? /* NOT MAINTAINABLE FROM API */
          field chr09       like    schd__chr09    initial ? /* NOT MAINTAINABLE FROM API */
          field chr10       like    schd__chr10    initial ? /* NOT MAINTAINABLE FROM API */
          field dec01       like    schd__dec01    initial ? /* NOT MAINTAINABLE FROM API */
          field dec02       like    schd__dec02    initial ? /* NOT MAINTAINABLE FROM API */
          field dec03       like    schd__dec03    initial ? /* NOT MAINTAINABLE FROM API */
          field dec04       like    schd__dec04    initial ? /* NOT MAINTAINABLE FROM API */
          field dec05       like    schd__dec05    initial ? /* NOT MAINTAINABLE FROM API */
          field dec06       like    schd__dec06    initial ? /* NOT MAINTAINABLE FROM API */
          field dec07       like    schd__dec07    initial ? /* NOT MAINTAINABLE FROM API */
          field dec08       like    schd__dec08    initial ? /* NOT MAINTAINABLE FROM API */
          field dec09       like    schd__dec09    initial ? /* NOT MAINTAINABLE FROM API */
          field dec10       like    schd__dec10    initial ? /* NOT MAINTAINABLE FROM API */
          field dte01       like    schd__dte01    initial ? /* NOT MAINTAINABLE FROM API */
          field dte02       like    schd__dte02    initial ? /* NOT MAINTAINABLE FROM API */
          field log01       like    schd__log01    initial ? /* NOT MAINTAINABLE FROM API */
          field log02       like    schd__log02    initial ? /* NOT MAINTAINABLE FROM API */
          {mfaittxt.i}. /* API Standard Fields & Indexes */
